package com.hlkj.pay.vo.admin.resp.user;
import com.hlkj.pay.vo.BaseMerchantResp;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
/**
 * @author HlpayTeam
 * @date 2024/09/06 14:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminUserAuthorityResp extends BaseMerchantResp {
	
	/**
	 * ownUsreIds
	 */
	@Schema(description = "ownUserIds")
	private List<Long> ownUserIds;
	/**
	 * shopCodes
	 */
	@Schema(description = "shopCodes")
	private List<String> shopCodes;
	/**
	 * shopCodes
	 */
	@Schema(description = "用户组织类型 1 总部 99 门店 ")
	private Integer userOrganizationType ;
	/**
	 * 1 用户 2 业务部门 4 上下级 8 组织
	 * @see AdminUserEnum.DATA_PERMISSION_TYPE
	 */
	private Integer dataPermissionType;
	/**
	 * permissionCode
	 */
	private String permissionCode;
	/**
	 * 1-B 端,2-C 端 0 无
	 * @see AdminUserEnum.DATA_PERMISSION_SCOPE
	 */
	private Integer dataPermissionScope;
	/**
	 * 是否超级管理员 1 是 0 否
	 */
	private Boolean superAdminFlag;
}
